<?php include '_init_.php';?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="description" content="<?php echo $GLOBALS['PAGE_ROW_DATA']['meta_description'];?>" />
<meta name="KEYWORDS" CONTENT="<?php echo $GLOBALS['PAGE_ROW_DATA']['meta_keyword'];?>" />
<meta name="rating" CONTENT="general" /> 
<meta name="robots" content="index,follow"/>
<META HTTP-EQUIV="Pragma" CONTENT="no_cache">
<title> [ 班尼頓 <?php echo $GLOBALS['GV_ARTICLE_SUB_CAT'][$GLOBALS['PAGE_ROW_DATA']['cat_id']][$GLOBALS['PAGE_ROW_DATA']['sub_cat_id']];?> ] <?php echo $GLOBALS['PAGE_ROW_DATA']['title'];?></title>
<link href="css/bodyb2.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery.min.js"></script>
<script language="javascript" src="js/rAlertb.js"></script>
<script language="javascript">
function login(id) {
		rAlert("login.php" , null, " 班尼頓寫真 [會員登入] ",600, 400);
}
function rAlert_login_success()
{
	rClose();
	//document.location = 'index.php';
	document.location.reload();
}
</script>
<script type="text/javascript">
	$(function(){
		// 幫 #menu li 加上 hover 事件
		$('#menu>li').hover(function(){
			// 先找到 li 中的子選單
			var _this = $(this),
				_subnav = _this.children('ul');
			
			// 變更目前母選項的背景顏色
			// 同時淡入子選單(如果有的話)
			_this.css('backgroundColor', '#fff');
			_subnav.stop(true, true).fadeIn(1000);
		} , function(){
			// 變更目前母選項的背景顏色
			// 同時淡出子選單(如果有的話)
			// 也可以把整句拆成上面的寫法
			$(this).css('backgroundColor', 'fff').children('ul').stop(true, true).fadeOut(1000);
		});
		
		// 取消超連結的虛線框
		$('a').focus(function(){
			this.blur();
		});
	});
</script>
</head>

<body>
<?php include('facebook-js-lib.php');?>
<div id="wrap"><!-- star #wrap //-->
<div id="contact-body" class="clearfix" ><!-- star #main //-->

<div id="topa">
<div id="top">
  <ul>
    <li class="tit2"><a href="index.php" target="_parent"><img src="images/contactc-logo.png" width="94" height="30" /></a>
    </li>
    <li class="tit">
      <h3><?php echo $GLOBALS['PAGE_ROW_DATA']['title'];?>
      </h3>
    </li>
  </ul>
</div>
</div>

<div id="main-body" class="clearfix"  ><!-- star #contact-body //-->
<ul>
    <li><img src="img/article/<?php echo $GLOBALS['PAGE_ROW_DATA']['img_path'];?>" width="960" height="924" ></li>
    
  </ul>
	

</div><!-- end #contact-body //-->
<div id="contacte-menber2"><!-- star #contacte-menber 按贊語法修正位置 //-->
   <?php 
         $fb_link_url = constant('SITE_URL_PATH').'/contactc.php?id='.$GLOBALS['PAGE_ROW_DATA']['id'];
         ?>
   <div href="<?php echo $fb_link_url;?>" class="fb-like" data-width="960" data-show-faces="true"></div>
  </div> <!-- end #contacte-menber 按贊語法修正位置 //-->
  <?php if($GLOBALS['PAGE_SHOW_PRINT_LINK']):?>
 <div id="contacte-menber"><!-- star #contacte-menber //-->
  <?php if ( !$GLOBALS['PAGE_DATA_MEM_HAS_LOGIN']):?>
   <a href="#" onclick="javascript:login(1118);return false;">會員專屬列印優惠卷，請登入會員後，即可直接列印。</a> 
  <?php else:?>
   <a href="menberg.php?id=<?php echo $GLOBALS['PAGE_ROW_DATA']['id'];?>" target="_blank">會員專屬列印優惠卷，請登入會員後，即可直接列印。</a> 
  <?php endif;?>
    </div><!-- end #contacte-main //-->
    <?php endif;?>
    
</div><!-- end #main //-->
</div><!-- end #wrap //-->
<div id="footer"><!-- star #footer //-->
  <div class="footera">Copyright Benetton photograph Co., Ltd. All rights reserved.</div>
</div><!-- end #footer //-->
</body>
</html>